package sunsun.xiaoli.jiarebang.beans;

import java.util.List;

/**
 * Created by boye009 on 2017/1/5.
 */

public class UpdateVersionBean {
    String version;
    String update_log;
    List<Url> download_url;

    public UpdateVersionBean(String version, String update_log, List<Url> download_url) {
        this.version = version;
        this.update_log = update_log;
        this.download_url = download_url;
    }

    public UpdateVersionBean() {
    }

    public List<Url> getDownload_url() {
        return download_url;
    }

    public void setDownload_url(List<Url> download_url) {
        this.download_url = download_url;
    }

    public String getUpdate_log() {
        return update_log;
    }

    public void setUpdate_log(String update_log) {
        this.update_log = update_log;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public static class Url {
        String name;
        String value;

        public Url(String name, String value) {
            this.name = name;
            this.value = value;
        }

        public Url() {
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String toString() {
            return "Url{" +
                    "name='" + name + '\'' +
                    ", value='" + value + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "UpdateVersionBean{" +
                "version='" + version + '\'' +
                ", update_log='" + update_log + '\'' +
                ", download_url=" + download_url +
                '}';
    }
}
